package com.ruoyi.hazard.mapper;

import java.util.List;
import com.ruoyi.hazard.domain.HazardRiskEquipment;

/**
 * 设施风险Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-25
 */
public interface HazardRiskEquipmentMapper 
{
    /**
     * 查询设施风险
     * 
     * @param id 设施风险主键
     * @return 设施风险
     */
    public HazardRiskEquipment selectHazardRiskEquipmentById(Long id);

    /**
     * 查询设施风险列表
     * 
     * @param hazardRiskEquipment 设施风险
     * @return 设施风险集合
     */
    public List<HazardRiskEquipment> selectHazardRiskEquipmentList(HazardRiskEquipment hazardRiskEquipment);

    /**
     * 新增设施风险
     * 
     * @param hazardRiskEquipment 设施风险
     * @return 结果
     */
    public int insertHazardRiskEquipment(HazardRiskEquipment hazardRiskEquipment);

    /**
     * 修改设施风险
     * 
     * @param hazardRiskEquipment 设施风险
     * @return 结果
     */
    public int updateHazardRiskEquipment(HazardRiskEquipment hazardRiskEquipment);

    /**
     * 删除设施风险
     * 
     * @param id 设施风险主键
     * @return 结果
     */
    public int deleteHazardRiskEquipmentById(Long id);

    /**
     * 批量删除设施风险
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHazardRiskEquipmentByIds(Long[] ids);
}
